package com.qqtech.qquan.mall.model;


import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallSupplier extends BaseDomain{

	//columns START
    /** 供应商名称 */
	private java.lang.String name;
    /** 标志图片，只有一张 */
	private java.lang.String logo;
    /** 供应商简介说明 */
	private java.lang.String resume;
    /** 状态:1-正常,2-无效 */
	private java.lang.Integer status;
	/** 首字母 */
	private java.lang.String firstLetter;
	/** 供应商介绍图片 */
	private java.lang.String resumeImg;
	/** 供应商官网、广告超链接 */
	private java.lang.String url;
	/** 是否首页展示:1-是;2-否 */
	private java.lang.Integer isShow;
	/** 商城首页广告图 */
	private java.lang.String banner;
	/** 供应商页面背景图 */
	private java.lang.String bgImg;
	/** 供应商图文描述*/
	private java.lang.Integer description;
	/** 排序*/
	private java.lang.Integer oidx;
	/** 副标题*/
	private java.lang.String subtitle;
	/** 专区广告图片*/
	private java.lang.String subjectImg;
	/** 供应商类型:1-外部供应商;2-本地供应商*/
	private java.lang.Integer type;
	/** 供应商简称 */
	private java.lang.String shortName;
	
	/** 社区id,本地供应商需要，外部供应商为0 */
	private java.lang.Integer communityId;
	/** 地址 */
	private java.lang.String address;
	/** 电话 */
	private java.lang.String phone;
	/** 分账比例,value=originalValue*rate(如本地供应商会有协议可以按多少折扣提现)  **/
	private BigDecimal rate;
	/** 供应商(社区门店)首图 */
	private java.lang.String firstImg;
	//columns END
	public MallSupplier(){
	}

	public MallSupplier( java.lang.Integer id ){
		this.id = id;
	}

	public java.lang.String getFirstImg() {
		return firstImg;
	}

	public void setFirstImg(java.lang.String firstImg) {
		this.firstImg = firstImg;
	}

	public java.lang.String getBanner() {
		return banner;
	}

	public void setBanner(java.lang.String banner) {
		this.banner = banner;
	}

	public java.lang.String getBgImg() {
		return bgImg;
	}

	public void setBgImg(java.lang.String bgImg) {
		this.bgImg = bgImg;
	}

	public java.lang.Integer getDescription() {
		return description;
	}

	public void setDescription(java.lang.Integer description) {
		this.description = description;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setLogo(java.lang.String logo) {
		this.logo = logo;
	}

	public java.lang.String getLogo() {
		return this.logo;
	}
	
	public void setResume(java.lang.String resume) {
		this.resume = resume;
	}

	public java.lang.String getResume() {
		return this.resume;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public java.lang.String getFirstLetter() {
		return firstLetter;
	}

	public void setFirstLetter(java.lang.String firstLetter) {
		this.firstLetter = firstLetter;
	}
	
	public java.lang.String getResumeImg() {
		return resumeImg;
	}

	public void setResumeImg(java.lang.String resumeImg) {
		this.resumeImg = resumeImg;
	}

	public java.lang.String getUrl() {
		return url;
	}

	public void setUrl(java.lang.String url) {
		this.url = url;
	}
	
	

	public java.lang.Integer getIsShow() {
		return isShow;
	}

	public void setIsShow(java.lang.Integer isShow) {
		this.isShow = isShow;
	}
	
	

	public java.lang.Integer getOidx() {
		return oidx;
	}

	public void setOidx(java.lang.Integer oidx) {
		this.oidx = oidx;
	}

	public java.lang.String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(java.lang.String subtitle) {
		this.subtitle = subtitle;
	}

	public java.lang.String getSubjectImg() {
		return subjectImg;
	}

	public void setSubjectImg(java.lang.String subjectImg) {
		this.subjectImg = subjectImg;
	}

	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}
	
	public java.lang.String getShortName() {
		return shortName;
	}

	public void setShortName(java.lang.String shortName) {
		this.shortName = shortName;
	}

	public java.lang.Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public java.lang.String getAddress() {
		return address;
	}

	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public java.lang.String getPhone() {
		return phone;
	}

	public void setPhone(java.lang.String phone) {
		this.phone = phone;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

